import { http } from "../utils/http";
/**
 * @description: 查询抽奖入口是否显示
 */
export const queryRaffleConfig = http.Post(
  "/msa/api-activity/bdc/user/raffle/queryRaffleConfig"
);

/**
 * @description: 奖池数量
 */
export const queryRafflePool = http.Post(
  "/msa/api-activity/bdc/user/raffle/queryRafflePool"
);

/**
 * @description: 查询用户抽奖次数
 */
export const queryRaffleInfo = http.Post(
  "/msa/api-activity/bdc/user/raffle/queryRaffleInfo"
);

/**
 * @description: 用户-抽奖
 */
export const sendRaffle = http.Post("/msa/api-activity/bdc/user/raffle/raffle");

/**
 * @description: 抽奖-轮播列表
 */
export const getRecentRaffle = http.Post(
  "/msa/api-activity/bdc/user/raffle/recentRaffleRecord"
);

/*************************** 抽美金 ***************************/

/**
 * @description: 查询幸运大赢家信息
 */
export const getLotterySessionInfo = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/queryLotterySessionInfo"
);

/**
 * @description: 查询队伍信息
 */
export const getTeamInfo = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/queryTeamInfo"
);

/**
 * @description: 加入队伍
 */
export const joinTeam = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/joinTeam"
);

/**
 * @description: 下注
 */
export const lotteryBetting = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/lotteryBetting"
);

/**
 * @description: 批量下注
 */
export const lotteryBettingBatch = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/lotteryBettingBatch"
);

/**
 * @description: 查询避险账户余额
 */
export const getAccountInfo = http.Post("/msa/api-funds/hedging-account/info");

/**
 * @description: 新版,查询避险账户余额
 */
export const getNewAccountInfo = http.Post(
  "/msa/api-funds/security-account/info"
);

/**
 * @description: 查询最近下注列表
 */
export const getRecentRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/queryRecentRecord"
);

/**
 * @description: 同步服务器时间
 */
export const syncServerTime = http.Post("/msa/traded-api-bdc/common/acr/ping");

/**
 * @description: 查询可兑奖额度
 */
export const getWinerAvailablePrizeAmount = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/queryWinerAvailablePrizeAmount"
);

/**
 * @description: 兑奖
 */
export const winnerPrizeExchange = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/winnerPrizeExchange"
);

/**
 * @description: 奖金变动明细-分页查询
 */
export const getPrizeChangeRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/pagePrizeChangeRecord"
);

/**
 * @description: 当期下注记录-分页查询
 */
export const getSessionBettingRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/pageSessionBettingRecord"
);

/**
 * @description: 查询 top5 hash 列表
 */
export const topHashScoreRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/topHashScoreRecord"
);

/**
 * @description: 我的下注记录
 */
export const getMyBettingRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/pageMyBettingRecord"
);

/**
 * @description: 我的中奖记录页面
 */
export const getMyPrizeRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/pageMyPrizeRecord"
);

/**
 * @description: 往期结果查询
 */
export const getSessionRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/pageSessionRecord"
);

/**
 * @description: 往期抽奖详情
 */
export const getSessionRecordDetail = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/querySessionRecordDetail"
);

/**
 * @description: 队伍分红详情
 */
export const getTeamPrizeRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/pageTeamPrizeRecord"
);

/**
 * @description: 查询我的待开卡记录
 */
export const getMyCard = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/queryMyCard"
);

/**
 * @description: 开卡
 */
export const openMyCard = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/openMyCard"
);

/**
 * @description: 查询下注花费信息
 */
export const getLotterySimpleInfo = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/queryLotterySimpleInfo"
);

/**
 * @description: 最近开卡记录
 */
export const getRecentOpenCardRecord = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/queryRecentOpenCardRecord"
);

/**
 * @description: 批量开卡
 */
export const openMyCardBatch = http.Post(
  "/msa/traded-api-bdc/lottery/winner/acr/openMyCardBatch"
);

/**
 * @description: 领取新人免费抽奖次数奖励
 */
export const claimNewUserBonus = http.Post(
  "/msa/traded-api-bdc/register/invite/acr/claimNewUserBonus"
);

/******************************** 抽奖接口 V3 ********************************/
/**
 * @description: 获取结算后的中奖结果
 */
export const getUserJackpotResult = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/queryUserJackpotResult"
);

/**
 * @description: 获取结算后的中奖结果
 */
export const getJackpotSessionInfo = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/queryJackpotSessionInfo"
);

/**
 * @description: V3 批量下注
 */
export const bettingBatchV3 = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/jackpotBettingBatch"
);

/**
 * @description: 历史中奖榜单Top10用户
 */
export const topUserPrizeRecord = http.Post(
  "/msa/traded-api-bdc/jackpot/aco/topUserPrizeRecord"
);

/**
 * @description: 我的下注记录
 */
export const getMyBetRecord = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/pageMyBettingRecord"
);

/**
 * @description: 我的.中奖记录
 */
export const getMyPrizeRecordV3 = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/pageMyPrizeRecord"
);

/**
 * @description: 往期记录
 */
export const getSessionRecordV3 = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/pageSessionRecord"
);

/**
 * @description: 中奖详情
 */
export const getSessionPrizeRecord = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/pageSessionPrizeRecord"
);

/**
 * @description: 本轮下注记录
 */
export const getDayBettingRecord = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/pageSessionBettingRecord"
);

/**
 * @description: 查询剩余次数
 */
export const queryJackpotSimpleInfo = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/queryJackpotSimpleInfo"
);

/**
 * @description: 查询中奖结果
 */
export const getJackpotBettingResult = http.Post(
  "/msa/traded-api-bdc/jackpot/acr/queryJackpotBettingBatchResult"
);


/**
 * @description: 批量-打开转化宝箱
 */
export const openLuckyRewardBatch = http.Post(
  "/msa/traded-api-bdc/register/invite/acr/openLuckyRewardBatch"
);
